<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: {2021/1/11}
 * Time: {14:39}
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

namespace app\common\validate;


use think\Validate;

class AdminUser extends Validate
{
    protected $rule = [
        'username' => "require",
        "password" => "require",
        "captcha" => "require|captcha"
    ];
    protected $message = [
        "username.require" => "用户名不能为空",
        "password.require" => "密码不能为空",
        "captcha.require" => "请输入验证码",
        "captcha.captcha" => "验证码输入错误"
    ];
}